package pcjavanet.mobilesell.model;

import java.util.Date;

 import pcjavanet.mobilesell.model.Goods;

 import pcjavanet.mobilesell.model.Color;

 import pcjavanet.mobilesell.model.Configuration;

public class Sale {
    private Integer dbid;

    private Integer refGoodsDbid;

    private Integer refColorDbid;

    private Integer refConfigurationDbid;

    private String peisong;

    private Double unitprice;

    private Double money;

    private Double status;

    private String memo;

    private Date createDate;

    private Goods goods = null;
    private Color color = null;
    private Configuration configuration = null;
    public void setGoods( Goods goods ){
        this.goods=goods;
    }
    public Goods getGoods( ){
    	return this.goods;
    }
    public void setColor( Color color ){
        this.color=color;
    }
    public Color getColor( ){
    	return this.color;
    }
    public void setConfiguration( Configuration configuration ){
        this.configuration=configuration;
    }
    public Configuration getConfiguration( ){
    	return this.configuration;
    }
    public Integer getDbid() {
        return dbid;
    }

    public void setDbid(Integer dbid) {
        this.dbid = dbid;
    }

    public Integer getRefGoodsDbid() {
        return refGoodsDbid;
    }

    public void setRefGoodsDbid(Integer refGoodsDbid) {
        this.refGoodsDbid = refGoodsDbid;
    }

    public Integer getRefColorDbid() {
        return refColorDbid;
    }

    public void setRefColorDbid(Integer refColorDbid) {
        this.refColorDbid = refColorDbid;
    }

    public Integer getRefConfigurationDbid() {
        return refConfigurationDbid;
    }

    public void setRefConfigurationDbid(Integer refConfigurationDbid) {
        this.refConfigurationDbid = refConfigurationDbid;
    }

    public String getPeisong() {
        return peisong;
    }

    public void setPeisong(String peisong) {
        this.peisong = peisong == null ? null : peisong.trim();
    }

    public Double getUnitprice() {
        return unitprice;
    }

    public void setUnitprice(Double unitprice) {
        this.unitprice = unitprice;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Double getStatus() {
        return status;
    }

    public void setStatus(Double status) {
        this.status = status;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo == null ? null : memo.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
